﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Happy.Domain
{
    /// <summary>
    /// 角色接口。
    /// </summary>
    public interface IRole<TAggregate, TId>
        where TAggregate : IAggregateRoot<TId>
    {
        /// <summary>
        /// 角色的扮演者。
        /// </summary>
        void SetActor(TAggregate actor);
    }
}
